package day03;
//本类是用来测试三元运算符的演示demo
public class Test06 {
    public static void main(String[] args) {
//        int a =52;
//        int b=6;
//        int max = a < b? a : b;
//        System.out.println(max);//52
        int a = 20;
        int b = 40;
        int c = 90;
        int max = a > b ? a : b;
        int max1 = max > c ? max : c;
        System.out.println(max1+"是最大值");


    }
}
